Data controlled power supply apparatus

ABSTRACT

A power supply, and a method of controlling the power supply, in which more or less power capacity of the power supply is activated depending on the state of a digital data signal on a data bus. The power supply has a control circuit which detects the number of “zero” bits present on the data bus, and responsively activates one or more of a plurality of power supply circuits such as charge pump circuits. The outputs of the charge pump circuits are mutually connected to a driver adapted to program memory cells of a flash memory circuit.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 10/091,031, filed on Mar. 6, 2002, now U.S. Pat. No. 7,114,084, the subject matter of which is incorporated in its entirety by reference herein.

FIELD OF THE INVENTION

The present invention relates to a power supply control, and more particularly to a power supply control that controls a charge pump by sensing a digital signal and controlling an output of the charge pump in relation to the digital signal.

BACKGROUND OF THE INVENTION

To program the memory cells of a memory integrated circuit, electrical power is applied to the cells. The electrical power is applied to the cells at a particular voltage, and this voltage must be maintained at a relatively stable value regardless of the current demand placed on the power supply. In practice, maintaining a stable power supply voltage can be difficult. Depending on the number of memory cells being programmed at any particular time, the current demand placed on the power supply can vary substantially. For example, the maximum drain current required for programming of a typical flash memory cell is 300 microamps. For flash memories organized by 16, the required current capability of a programming power supply is 4.8 milliamps (16×300 microamps). A charge pump with a 4.8 milliamp current capacity works well for words where the majority of bits are programmed. However, a 4.8 milliamp power supply is too powerful for words where only a few bits are programmed, causing a resulting voltage overshoot on the drains of the flash cells. If many cells are being programmed to a particular logic state (for example a “zero” state), a correspondingly large current is required. If only a few cells are being programmed to the same logic state, a relatively small current is required. If a power supply supplying the programming current has insufficient current capacity, there is a tendency for programming voltage to drop. Consequently, programming may occur undesirably slowly and/or one or more memory cells may be programmed into an incorrect state.

Charge pumps are commonly used to provide programming current to flash memory cells. Charge pump efficiency is optimized when the pump is operating at or near fill capacity. Thus, if a charge pump is sized to provide proper programming for a maximum number of memory cells, efficiency will be reduced when a data word requires that only a few cells be programmed. Consequently, it would be useful to have a power supply that is efficient when controlled to maintain a desirable voltage and which supplies a proper level of current for the number of memory cells to be programmed.

In one conventional power supply, feedback control is used to stabilize output voltage. Under feedback control, the voltage or current being output from a power supply is measured and the power supply is adjusted in accordance with a deviation of the measured value from a desired value. In one conventional method, the adjustment of the power supply is effected by including capacitance at the output of the power supply and switching the power supply on and off in relation to a voltage measured on the capacitance. When the power supply is based on a charge pump, such switching on and off tends to lower the efficiency of the power supply, because capacitive charge pump efficiency is diminished during a startup period that immediately follows switching on of the charge pump. Also, switching on and off of a power supply may introduce undesirable harmonic frequencies on the output of the power supply. These harmonic frequencies may diminish data integrity and increase system power dissipation. Finally, feedback control implies a trade-off between sensitivity of control and stability. A stable system will lag demand variations resulting in some level of voltage overshoot despite the control.

Accordingly, it would be desirable to have a control method and apparatus for providing power to a memory integrated circuit device where the power is provided at desirable levels of voltage and current while minimizing the disadvantages noted above.

SUMMARY OF THE INVENTION

According to the present invention, a power supply is provided with a plurality of power supply circuits. Each power supply circuit includes a charge pump circuit. The power supply also includes a control circuit. A data bus having a plurality of data lines is connected to, and monitored by, the control circuit. The control circuit detects a data signal including a plurality of data bits on the data bus. Each data bit of the data signal has a particular state. Generally, the data bits have either a “one” state or a “zero” state. The power output by the power supply is changed by the control circuit depending on the states of the data bits. For example, programming a single memory cell to a “zero” state at a particular time requires a small current (300 μA). Programming N cells to a “zero” state at a particular time requires a current of a single cell multiplied by the member N. If the data bus has a bit configuration 1000100010001000, only the twelve cells corresponding to “0” will require programming current. Thus when there are twelve cells to be programmed the current needed will be 12×300 μA. The cells corresponding to a “one” on the data bus will keep the “one” state given to all the flash cells during the block erase operation performed in advanced of a programming operation. During the erase operation all cells are erased to show data “one”. During a programming operation only the cells corresponding to a “zero” on the data bus will need current to change their “one” status given to them by the erase operation to a “zero” status required by the “zero” on the data bus. According to one aspect of the invention, the power supply circuit is adjusted by feeding forward a signal corresponding to the number of “zero” data bits detected on the lines of the data bus at a particular time.

Preferably, the power supply of the present invention includes multiple power supply circuits. One or more of the power supply circuits are activated at a particular time depending on the number of “zero” bits to be programmed. One of the multiple power supply circuits is activated by enabling that portion of the power supply. Activating a portion of the power supply is accomplished by applying a clock signal to that portion of the power supply. Alternately, one of plural power supply circuits may be enabled by connecting input power to the one power supply circuit. In yet another alternative embodiment of the invention, a portion of the power supply is activated by switchingly connecting that portion of the power supply to a load which includes one or more data buffers and/or memory cells. Accordingly, in one aspect, the invention includes detecting a number of “zero” data bits on a serial or parallel data bus, and according to that number of “zero” data bits, enabling a clock circuit and clocking one or more charge pump subcircuits of a power supply so as to supply an appropriate current to a plurality of buffers, and thereby to a plurality of memory cells adapted to be programmed according to the data pattern on the data bus.

These and other aspects and features of the invention will be more clearly understood from the following detailed description which is provided in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a first aspect of the invention, in block diagram form;

FIG. 2 shows a further aspect of the invention including a power supply circuit having four separate charge pump circuits;

FIG. 3 shows a further aspect of the invention including an electrical load having a buffer circuit and an array of flash memory cells;

FIG. 4 shows a further aspect of the invention including an electrical load having a buffer circuit and an array of flash memory cells integrated on a single integrated circuit;

FIG. 5 shows an aspect of the invention including an analog control circuit and a plurality of charge pumps;

FIG. 6 shows a programmable resistance element according to the invention;

FIG. 7 shows a further aspect of the invention including a control circuit implemented with two programmable resistance elements;

FIG. 8 shows an alternative programmable resistance element according to a further aspect of the invention;

FIG. 9 shows current source circuitry according to one aspect of the invention; and

FIG. 10 shows a computer system including a memory prepared in accordance with one aspect of the invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 shows the data controlled power supply 100 of the present invention in block diagram form. A data bus 102 is operatively connected to a control circuit 104. The control circuit 104 is adapted to output a control signal on a control bus 106. The control signal on the control bus 106 varies depending on a number of data bits on the data bus 102 in a “zero” state at a particular time. The control bus 106 is operatively connected to a power supply circuit 108. The power supply circuit 108 is adapted to provide a particular level of current and/or voltage to an output 110 of the power supply circuit depending on the control signal transmitted over the control bus 106. Depending on the conditions at the output 110 of the power supply circuit 108, an output current is conducted over a conductor 112 operatively connected between the output 110 of the power supply circuit and an input 114 of an electrical load 116. In one aspect of the invention the electrical load 116 is a buffer circuit operatively connected to an array of memory cells 118.

In operation, a particular data pattern of “ones” and “zeros” is presented on the data bus 102. The control circuit 104 responds to the data pattern by sending a corresponding signal over the control bus 106 to the power supply circuit 108. As will be described below with reference to various illustrative embodiments, the power supply of the invention responsively provides a particular level of power to an electrical load 116.

In FIG. 2, the data bus 102 is shown to include a plurality of data lines 130, 132, 134, 136, 138, 140, 142, and 144. The data lines of the data bus are operatively connected to a respective plurality of data inputs 150, 152, 154, 156, 158, 160, 162, and 164 of the control circuit 104. The control bus 106 includes four control lines 172, 174, 176, and 178. Each control line 172-178 of control bus 106 is operatively connected from the control circuit 104 to a respective charge pump circuit 182, 184, 186, and 188 of the power supply circuit 108. The four charge pump circuits each include a respective output 190, 192, 194, and 196. These outputs are mutually connected to an input 200 of an electrical load 116. At any given time, each control line 172-178 transmits a control signal occupying one of two binary states. That is, each control line transmits a “one” or a “zero”. If the control line signal is “one”, the charge pump circuit to which that control signal is connected is enabled, and that charge pump circuit supplies power to its respective output. If the control line signal is “zero”, the respective charge pump circuit is inactive and does not supply power to its output.

In one embodiment of the invention, the power supply is adapted to program a 16 bit data word into a flash memory array. The four identical pumps are each capable of delivering the current necessary to program a maximum of four flash cells (4×300 microamps equals 1.2 milliamps). The first pump and its clock generator 182 are activated during every programming and reprogramming pulse by a Programming Pulse Enable Signal 598. The second pump 184 is activated only if more than four data are to be programmed during the programming cycle. The third pump 186 is activated only if more than eight data are to be programmed during a programming or reprogramming cycle. The fourth pump 188 is activated only if the number of data to be programmed or reprogrammed is higher than 12.

FIG. 3 shows an alternative embodiment of the invention in which the power output by the power supply 108 is applied to an electrical system that includes a flash memory integrated circuit 210 having a buffer circuit 116, an internal data bus 220, and an array of flash memory cells 118. According to the embodiment shown, power from the power supply 108 is conducted from the output 110 of the power supply to the buffer circuit 116. There, the power is used to amplify incoming data signals from the data bus 102. The incoming data signals are then output from the buffer 116 over the internal data bus 220 to the flash memory array 118. There, the power supplied by the power supply 108 is used to program the flash memory cells into particular memory states according to the state of the data bus 102.

FIG. 4 illustrates a system that is functionally similar to that of FIG. 3, but that differs from the system of FIG. 3 in that the controlled power supply 100, including control circuit 104 and charge pump power supply 108 are entirely implemented on the integrated circuit 210 bearing the flash memory array 118.

FIG. 5 illustrates a particular control circuit including an analog portion along with respective connections to a plurality of charge pump circuits. The control circuit of FIG. 5 operates by varying an analog voltage signal according to a number of “zero” bits on a data bus. The analog voltage signal is compared to a plurality of reference voltages and a particular number of charge pump circuits are activated depending on the outcome of the comparison. As shown, the control circuit 104 includes four voltage dividers 300, 302, 304, and 306 powered by a common input voltage VCC 308. Each voltage divider includes a respective fixed resistance (or a current source) 310, 312, 314, 316 and a respective programmable resistance 318, 320, 322, and 324. Three of the programmable resistance elements 320, 322, 324 are permanently programmed to respective fixed resistances. The other programmable resistance element is connected at a plurality of data inputs 222 to the data bus 102.

A structure typical of the programmable resistance elements 318-324 is shown in more detail in FIG. 6. The programmable resistance element includes a plurality of resistors 330-360 connected between a first terminal 362 and a second terminal 364. In a preferred embodiment of the invention, each of the resistance element resistors 330-360 has an individual resistance of approximately 10 K-Ohm. Each resistor 330-360 is shunted by respective transistor 380-410. The respective gates of the plurality of transistors 380-410 act as programming inputs of the programmable resistance element. When a signal of the correct potential is applied at one of the gates, the respective transistor (otherwise non-conductive) becomes conductive, and the respective resistor that it shunts is bypassed. Thus, the resistance of the programmable resistance element depends on the number of conductive transistors 340-410 at any given time, and therefore on the values applied to the inputs of the programmable resistance element.

Referring again to FIG. 5, resistance element 320 is permanently wired so as to program its output resistance to a fixed value. As shown, inputs 0-3 are connected to a source of voltage vccl 400. Inputs 4-15 are grounded. Accordingly, the first four transistors 380-386 are conductive, and the first four resistors 330-336 of the resistance element are shunted. Since the gates of the balance of the transistors of the resistance element 320 are connected to ground 402, the transistors are non-conductive. Thus, the resistance of the programmed resistance element equals the series resistance of resistors 338-360.

In a similar fashion, resistance element 322 is programmed by permanent connection of some of the transistor gates to vccl 400 and other of the transistor gates to ground 402. In the case of resistance element 322, resistors 330-344 are shunted, and the resistance of the programmed resistance element is equal to the series connection of resistors 346-360. In the case of resistance element 324, resistors 330-352 are shunted, and the programmed resistance of the resistance element is equal to the series resistance of resistors 354-360. The consequence is that, when a standard voltage VCC 308 is applied across the series combinations of resistor 316 with resistance element 324, resistor 314 with resistance element 322, and resistor 312 with resistance element 320, three reference voltages are produced at the common nodes 510, 520, and 530 between the resistors and respective programmable resistance elements. As illustrated, additional resistors 540, 542, and 544 each exhibit about one-half (5 K-Ohm) the resistance of the programmed resistance element resistors, e.g., 330, and are shown connected in series with the resistance element. Resistors 540, 542, and 544 serve to offset the reference voltages at nodes 510, 520, and 530 respectively by one-half bit value. This voltage offset serves to clearly separate the reference voltage from the voltage produced by any stable combination of input bits on data bus 102. As would be understood by one of skill in the art, this prevents oscillation of comparators 550, 552, and 554 respectively.

Unlike the permanently programmed resistance elements 320-324, resistance element 318 exhibits a resistance that is a function of the number of “zero” bits on the data bus 102 connected to its respective inputs. Accordingly, the voltage apparent at node 500 varies according to the data on the data bus 102. The voltage on node 500 is compared with the three reference voltages on nodes 510, 520, and 530 respectively by three respective analog comparators 550, 552, and 554. Each comparator 550, 552, and 554 has a respective output 556, 558 and 560 connected respectively to three enable inputs 562, 564, and 566 of three respective timing circuits 568, 570, and 572. A fourth timing circuit 574 has an enable input 576 that is permanently connected to vccl 400. The fourth timing circuit 574 is therefore enabled independently of the state of the data bus 102. The four timing circuits 568-574 receive an oscillator signal 580 at respective oscillator inputs 582, 584, 586, and 588. As shown, the four timing circuits also include four further enable signal inputs 590, 592, 594, and 596 connected to a source of an enable signal 598. As shown, each timing circuit includes two outputs connected respectively to two corresponding inputs of a respective charge pump circuit 600, 602, 604, and 606 for driving the charge pumps, as would be understood by one of skill in the art. The charge pump circuits 600, 602, 604, and 606 have respective outputs 608, 610, 612, and 614. According to the aspect of the invention shown in FIG. 5, these respective outputs 608-614 are mutually connected to an output 110 of the power supply 100.

While FIGS. 5 and 6 illustrate a control circuit employing resistance elements and analog comparators to determine which charge pump circuits will be active, and which will be inactive, at any given time, one of skill in the art would understand that it would be routine to implement a control circuit using combinational logic, and digital signals exclusively, to achieve control of the charge pumps according to the invention.

FIG. 7 shows a further embodiment of the invention in which a single programmable resistance element is employed to produce three separate reference voltages. The three reference voltages are then applied to three comparators respectively in the manner described above with respect to the circuit of FIG. 5. Accordingly, FIG. 7 shows a first programmable resistance element 800 and a second programmable resistance element 802. The first resistance element 800 has a plurality of resistors 804-834, shunted by a respective plurality of transistors 836-866. The transistors 836-866 are controlled by a respective plurality of gates that are connected to the data bus 102 in the fashion described above with respect to the circuit of FIG. 5. The second resistance element 802 has a plurality of resistors 870-900, shunted by a respective plurality of transistors 902-932. The transistors 902-932 are controlled by a respective plurality of gates that are mutually grounded, making all of the transistors non-conductive. Reference voltages are tapped from the series connected resistors 870-900 at three nodes 952, 954, and 956 and applied to respective inputs 958, 960, and 962 of respective analog comparators 964, 966, and 968. In other aspects, the circuit illustrated in FIG. 7 is structured and operates similarly to the description provided above with respect to FIG. 5. The numbering of the additional circuit elements corresponds to that found in FIG. 5.

It should be noted that while FIGS. 2, 5, and 7 each show power supply circuits including four charge pump circuits and associated controls, the selection of a particular type, number, or configuration of power supply circuits is a matter of design choice.

FIG. 8 shows an alternative programmable resistance element 904 used to generate three reference voltages in place of the programmable resistance element 802 of FIG. 7. As shown in FIG. 7, the three reference voltages are tapped out of the programmable resistance element at three respective nodes 952, 954, and 956. Node 952 is located at the mutual connection of resistors 892 and 902; node 954 is located at the mutual connection of resistors 884 and 886, and node 956 is located at the mutual connection of resistors 876 and 878. As shown in FIG. 8, an additional resistor 902 is disposed in the resistance stack of the programmable resistance element 904. This additional resistor 902 has one-half the resistance value of the other resistors in resistance element 904 and serves to raise each of the three reference voltages by a magnitude equal to one-half bit. This additional voltage increment serves to insure that a voltage measured at node 801 at the top of resistance element 800 is clearly different from each reference voltage, regardless of the digital signal present on the data bus 102. Consequently, the additional resistor 902 serves to prevent unwanted oscillations at the outputs of the comparators 964-968.

FIG. 9 shows a circuit similar to that of FIG. 7, with the programmable resistance elements shown in block diagram form, and one embodiment of the current sourcing portions of the circuit shown schematically in additional detail. FIG. 9 shows the circuitry that applies and controls the current that flows through programmable resistance elements 800 and 802. Six P-type transistors are shown as transistors 1002, 1004, 1006, 1008, 1010, and 1012. Six N-type transistors are shown as transistors 1014, 1016, 1018, 1020, 1022, and 1024. The respective sources of transistors 1002, 1006, 1008, and 1010 are all connected to a common node at vccl 400. Also connected to vccl are the substrates of transistors 1002, 1006, 1008, 1010, and 1012. The gate of transistor 1002 is connected to its own drain, to the gate of transistor 1006, and to the gate of transistor 1010. The drain of transistor 1002 is connected to both the source and the substrate of transistor 1004. The gate of transistor 1004 is grounded, as is the drain of transistor 1004. Similarly, the gate of transistor 1008 is grounded. The drain of transistor 1008 is connected to the source of transistor 1012. The drain of transistor 1012 is connected to the drain of transistor 1014, as well as to the gate and drain of transistor 1016. The source of transistor 1014 is grounded, as is the source of transistor 1016. The drain of transistor 1006 is connected to node 801 of programmable resistance element 800. The drain of transistor 1010 is connected to node 803 of programmable resistance element 802. As shown, a capacitor 1026 connects the drain of transistor 1006 to ground. Likewise, capacitor 1028 connects the drain of transistor 1010 to ground. An enable line 1030 is inverted by inverter 1032 and the inverted enable line 1034 is connected to the respective gates of transistors 1012 and 1014. The drain and gate of transistor 1018 are mutually connected to node 1050 of programmable resistance element 800. The source of transistor 1018 is connected to the drain of transistor 1020 and the source of transistor 1020 is grounded. The gate of transistor 1020 is connected to the enable line 1030. In similar fashion, the drain and gate of transistor 1022 are mutually connected to node 1052 of programmable resistance element 802. The source of transistor 1022 is connected to the drain of transistor 1024. The source of transistor 1024 is grounded, and the gate of transistor 1024 is connected to enable line 1030. This configuration allows transistors 1006 and 1010 to provide stable current to programmable resistance elements 808 and 802 respectively, as would be understood by one of ordinary skill in the art.

FIG. 10 shows a computer system 1060 incorporating a flash memory integrated circuit according to the present invention. The system includes a CPU 1062, disk storage 1064, a data and control bus 1068, a user interface 1070, I/O 1072, and a memory unit 1074 including flash memory according to the invention. Such a system would benefit from advantages in operation of the flash memory, as discussed above.

While preferred embodiments of the invention have been described and illustrated above, it should be understood that these are exemplary of the invention and are not to be considered as limiting. Additions, deletions, substitutions, and other modifications can be made without departing from the spirit or scope of the invention. Accordingly, the invention is not to be considered as limited by the foregoing description but is only limited by the scope of the appended claims. 

1. A power supply apparatus comprising: a power supply circuit having at least one charge pump circuit; a control circuit for outputting a control signal on a control bus, said control bus being operatively connected to said power supply circuit and having at least one control line directly connected to said at least one charge pump circuit and for carrying said control signal to operate said at least one charge pump circuit; and a data bus operatively connected to said control circuit; wherein said control circuit is responsive to a number of data bits on the data bus and outputs said control signal, which corresponds to a data pattern on said data bus, and said power supply circuit has at least one output for providing an output signal responsive to said control signal.
 2. The power supply apparatus of claim 1, wherein said output signal comprises a voltage.
 3. The power supply apparatus of claim 1, wherein said output signal comprises a current.
 4. The power supply apparatus of claim 3, further comprising a conductor operatively connected between said output and an electrical load.
 5. The power supply apparatus of claim 4, wherein said electrical load is a buffer circuit operatively connected to an array of memory cells.
 6. The power supply apparatus of claim 1, wherein said data bus comprises a plurality of data lines, each data line being operatively connected to a respective data input.
 7. A power supply apparatus comprising: a power supply circuit; a control circuit for outputting a control signal on a control bus, said control bus being operatively connected to said power supply circuit; and a data bus operatively connected to said control circuit; wherein said control circuit is responsive to a number of data bits on the data bus and outputs said control signal, which corresponds to a data pattern on said data bus, said power supply circuit has at least one output for providing an output signal responsive to said control signal, said data bus comprises a plurality of data lines, each data line being operatively connected to a respective data input, and said control bus comprises a plurality of control lines and said power supply circuit comprises a plurality of charge pump circuits, each control line being operatively connected to a respective charge pump circuit.
 8. The power supply apparatus of claim 7, wherein said at least one output comprises a plurality of outputs, each charge pump circuit containing one of said outputs, each of said outputs being connected to an electrical load.
 9. The power supply apparatus of claim 8, wherein said control signal is a binary signal having an active and inactive state, each of said charge pump circuits being configured to activate responsive to said control signal exhibiting an active state, and to deactivate responsive to said control signal exhibiting an inactive state.
 10. The power supply apparatus of claim 9, wherein said plurality of charge pump circuits comprise first, second, third and fourth charge pump circuits, said power supply for programming a 16 bit data word into a flash memory array, each charge pump being configured to deliver enough current to program up to four flash cells.
 11. The power supply apparatus of claim 10, wherein said second charge pump and a corresponding clock generator are configured to be activated only if more than four data bits are to be programmed.
 12. The power supply apparatus of claim 11, wherein said third charge pump and a corresponding clock generator are configured to be activated only if more than eight data bits are to be programmed.
 13. The power supply apparatus of claim 12, wherein said fourth charge pump and a corresponding clock generator are configured to be activated only if more than twelve data bits are to be programmed.
 14. The power supply apparatus of claim 9, wherein said at least one output is operatively connected to an electrical system, said electrical system including a flash memory integrated circuit having a buffer circuit, an internal data bus, and an array of flash memory cells.
 15. The power supply apparatus of claim 14, wherein said at least one output and said data bus are operatively connected to said buffer circuit, said buffer circuit being configured to amplify data bits on said data bus and output said amplified data bits to said flash memory array via said internal data bus.
 16. The power supply apparatus of claim 15, wherein said flash memory cells are configured into particular memory states responsive to the state of the data bus.
 17. The power supply apparatus of claim 14, wherein the power supply circuit and flash memory array are implemented on the same integrated circuit.
 18. The power supply apparatus of claim 7, further comprising an analog circuit portion connected to the plurality of charge pump circuits, the analog circuit portion being responsive to the control circuit.
 19. The power supply apparatus of claim 18, wherein the control circuit is configured to actuate an analog voltage signal in said analog circuit portion responsive to the data bus.
 20. The power supply apparatus of claim 19, wherein the analog voltage signal corresponds to the number of zero bits on the data bus.
 21. The power supply apparatus of claim 20, wherein the control circuit further comprised a plurality of voltage dividers, each voltage divider comprising a fixed resistance element and a programmable resistance element, at least one of said programmable resistance elements being connected to at least one data input. 